﻿using AutoMapper;
using Common.Damin;
using RabitPart.ReadApi.Application.Loginfile;
using RabitPart.ReadApi.Application.RBACrelationship.Relroleperm;
using RabitPart.ReadApi.Application.RBACrelationship.RELUserShow;
using RabitPart.ReadApi.Application.TraceabilityFile;

namespace RabitPart.ReadApi
{
    public class Mapping : Profile
    {
        public Mapping()
        {
            CreateMap<User, LoginQueryCommanResponse>();
            CreateMap<Rel_user_role, ShowRel_user_roleCommanResponse>();

            CreateMap<User, UserShowCommanResponstity>();//用户显示

            CreateMap<Perms, GetTreeRolePermCommanResponstity>();//递归

            CreateMap<Companymanage, TraceabilityShowCommanResponstity>();//溯源
             
        }
    }
}
